app.controller('HomeCtrl', ['$scope', '$http', '$stateParams', 'ionicMaterialInk', '$localstorage', '$ionicSlideBoxDelegate', '$window', function ($scope, $http, $stateParams, ionicMaterialInk, $localstorage, $ionicSlideBoxDelegate, $window) {
    ionicMaterialInk.displayEffect();

    //微信客户信息
    $scope.weiInfo = $localstorage.getObject('weiInfo');

    $scope.nextSlide = function () {
        $ionicSlideBoxDelegate.next();
    }
    $scope.preSlide = function () {
        $ionicSlideBoxDelegate.previous();
    }
    $scope.screenheight = {
        "height": (window.screen.availHeight-80) + 'px',
    }

}]);


